home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / math / gle-3.000 / gle-3 / gle / INSTALL < prev    next >
Text File  |  1995-02-07  |  4KB  |  141 lines

  1. In order to install GLE on a UNIX system ftp the following files:
  2.  
  3. Be sure to use binary transfer for tar_z files.
  4.  
  5.     $ ftp wuarchive.wustl.edu 128.252.135.4
  6.     FTP> user anonymous
  7.     Password: (your Email address)
  8.     FTP> cd /graphics/graphics    (probable directory, check index)
  9.     FTP> ascii
  10.     FTP> get gle33a.txt        (this file)
  11.     FTP> binary
  12.     FTP> get gle33a.tar.Z
  13.     FTP> get gle33a.ps.tar.Z  (Optional PostScript copy of manual)
  14.     FTP> quit
  15.     
  16. .............................................................................
  17. GLE will compile under GCC or XLC (on AIX R6000's) 
  18.  
  19. It is suggested that you build GLE in a temporary directory of it's own
  20. and then use the install.sh script to copy the 'required' parts
  21. of gle into the system areas, you can then delete the gle source directory
  22. tree.
  23.  
  24. Then uncompress and un-Tar the installation kit.
  25.     uncompress gle.tar.Z
  26.     tar -xvf gle.tar
  27.     cd gle
  28.  
  29. GLE needs to know where it is being built as it runs itself during
  30. the installation.  Define GLE_TOP:
  31.  
  32. (sh)    . path.sh
  33. (csh)     source path.csh
  34.  
  35. To test SURFACE you will need to define SURF_TOP too.
  36.  
  37.     export SURF_TOP="/home/mydir/gle/util/surf/"
  38.  
  39.     (THIS is done inside path.sh)
  40.     
  41. These defines are not needed once gle is installed in the system directories.
  42.  
  43. If you are going to want to test it before copying it to /usr/local/bin
  44. then you might want to add GLE_TOP into your PATH.
  45.  
  46.     export PATH=$PATH:/home/mydir/gle
  47.  
  48. It might be worth touching the files as TAR doesn't always 
  49. get the dates right (which confuses make):
  50.     touch gle/*
  51.     touch gle/*/*
  52.     touch gle/*/*/*
  53. (if you are  building gle in a directory which already had a copy of 
  54. gle then you might have to force make to recompile by deleting the
  55. object files.
  56.     rm *.o
  57. )
  58.  
  59. Pick one of the files {config.*} which most matches
  60. your machine and copy it to {config.i}, you may want 
  61. to edit this file if you have xwindows or need to make 
  62. some other simple change.
  63.  
  64.     ls config.*
  65.     cp config.ultrix config.i
  66.  
  67. Now run make:
  68.     make
  69. Once that has completed type in:
  70.     make doutils
  71.  
  72. To test gle out:
  73.   Create yourself a gle directory to play in:
  74.     mkdir gletest
  75.     cd gletest
  76.     cp ../demo/*  ( or /usr/local/gle/demo/*   to copy the examples)
  77.     
  78.   Then try it out (note: the command is gle, not cgle):
  79.     ../gle test.gle         (For dumb terminals)
  80.     ../gle test.gle -dX    (For xwindows)
  81.     ../gle test.gle -dtek    (Tektronix 4010 terminals)
  82.     ../gle test.gle -dregis     (Regis, vt240, vt340)
  83.     ../gle test.gle -dhpgl      (HP plotters)
  84.     ../gle test.gle -dps    (To produce PostScript output)
  85.  
  86. (NOTE: if you already have gle installed in a system path then
  87. the old version of gle will be picked up rather than the new version
  88.  (even using gle_path).  To avoid this problem you should temporarily 
  89. remove gle from your path variable, you can also run specific
  90. gle drivers using:
  91.     ../gle_ps  (PostScript)
  92.     ../gle_vt  (terminal)
  93.  
  94.  
  95.     (You must replace ../ with the path to where the gle executables
  96.     were created)
  97.  
  98.     (To load a different example press ^F 3, then ^F 0 to draw it)
  99.  
  100. To install gle executables in /usr/bin and the gle help,font and example
  101. files into /usr/local/gle enter the command:
  102.     install.sh
  103.  
  104. If you wish to install gle in a different directory permenently 
  105. then you can modify the file {glepath.h} and then recompile or 
  106. you can use the environment variable GLE_TOP
  107.  
  108. After checking that gle is working correctly you can delete
  109. the source files to save a lot of space:
  110.     cd ..
  111.     rm gle -r        
  112.  
  113. Once gle has been installed the commands that are added are:
  114.  
  115.     gle        Graphics Language Editor, graphs and slides.
  116.     surface        Plots hidden line wire mesh 3d plots
  117.     fitls        Fit's best fit least squares line to any equation
  118.     fitz        Creating even grid data from random xyz data
  119.     letz        Creating grid of values from expression
  120.     manip        Data manipulation
  121.  
  122. There is a postscript and text only copy of the manual in the directory
  123.     gle/manual/
  124.         gle.ps
  125.         gle.txt
  126.         util.ps
  127.  
  128.  
  129. If you have to make changes to install GLE on your machine please
  130. send them to me.
  131.  
  132.                 Thanks,  Chris.  (srghcxp@grv.dsir.govt.nz)
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.